Automatic Invention of Functional Abstractions
نویسندگان
چکیده
We investigate how new elements of background knowledge can be abstracted automatically from patterns in programs. The approach is implemented in the KANDINSKY system using an algorithm that searches for common subterms over sets of functional programs. We demonstrate that KANDINSKY can invent higher-order functions such as map, fold, and sumBy from small sets of input programs. An experiment shows that KANDINSKY can find high-compression abstractions efficiently, with low settings of its input parameters. Finally we compare our approach with related work in the inductive logic programming and functional programming literature, and suggest directions for further work.
منابع مشابه
Learning Higher-Order Logic Programs through Abstraction and Invention
Many tasks in AI require the design of complex programs and representations, whether for programming robots, designing game-playing programs, or conducting textual or visual transformations. This paper explores a novel inductive logic programming approach to learn such programs from examples. To reduce the complexity of the learned programs, and thus the search for such a program, we introduce ...
متن کاملInductive Functional Programming Using Incremental Program Transformation
The paper presents a system, ADATE, for automatic functional programming. ADATE uses speci cations that contain few constraints on the programs to be synthesized and that allow a wide range of correct programs. ADATE can generate novel and unexpected recursive programs with automatic invention of recursive auxiliary functions. Successively better programs are developed using incremental program...
متن کاملImprovement of the Reliability of Automatic Manufacture Systems by Using FTA Technique
In recent years, Many manufacturing industries for promoting their efficiency have tended to use the automatic manufacturing systems. Expanding automatic systems and to increase their complexity are representing the necessity of studying a proper functional quality and using reliable equipment in such systems more than ever. In this direction, the technique of fault tree analysis (FTA), along w...
متن کاملThe "automatic stabilizer" and angle of attack assessor: human factors contributions of the Wright brothers.
The Wright brothers followed their invention of the first practical airplane (1903) with a second epochal invention, the angle of attack sensor and aircraft stabilizer (1908). Both inventions were patented and details of each are contained in the respective patents for these two aeronautical advances. This paper emphasizes how the angle of attack sensor actuated an "automatic stabilizer." This ...
متن کاملExtending Automatic Parallelization to Optimize High-Level Abstractions for Multicore
Automatic introduction of OpenMP for sequential applications has attracted significant attention recently because of the proliferation of multicore processors and the simplicity of using OpenMP to express parallelism for shared-memory systems. However, most previous research has only focused on C and Fortran applications operating on primitive data types. C++ applications using high-level abstr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011